<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <f:view contentType="text/html" >

        <h:head>
            <f:facet name="first">
                <meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
                <title>Social Full Fun</title>
                <link rel="shortcut icon" type="image/x-icon" href="http://#{initParam['DIRECCION_SERVIDOR']}/Iconos/icono.ico"/>
            </f:facet>
            <link href="http://#{initParam['DIRECCION_SERVIDOR']}/estilos/estilo-comunAdministracion/theme.css" rel="stylesheet" type="text/css"/>
        </h:head>

        <h:body style="background-color: #191947; background-image: url(http://#{initParam['DIRECCION_SERVIDOR']}/estilos/estilo-comunLogin/images/ui-bg_dots-small_25_191947_2x2.png)">
            <ui:include src="../sessionTimeOut.xhtml"  />
            <p:layout  fullPage="true">

                <p:layoutUnit position="north" size="90">
                    <table>
                        <tr>
                            <td>
                        <h:graphicImage value="http://#{initParam['DIRECCION_SERVIDOR']}/Iconos/boton.jpg" height="50" width="50"/>
                        </td>
                        <td style=" position: relative;left: 20px">
                            <h:graphicImage value="http://#{initParam['DIRECCION_SERVIDOR']}/Iconos/letras.jpg" height="50" width="200"/>
                        </td>
                        </tr>   
                    </table>
                </p:layoutUnit>

                <p:layoutUnit position="west" size="200">
                    <h:form>
                        <center><table>
                                <tr>
                                    <td>
                                        <center><p:commandLink value="Ingreso local" action="administracionLocal?faces-redirect=true" process="@this"
                                                               ajax="true" style="color: #CCCCCC"/></center> 
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <center><p:commandLink value="Salir"  action="#{logOutControlador.logout()}" 
                                                               process="@this"
                                                               update="@all"
                                                               ajax="true" style="color: #CCCCCC"/></center>
                                    </td>
                                </tr>
                            </table></center>
                    </h:form>
                </p:layoutUnit>

                <p:layoutUnit id="vista" position="center">
                    <ui:insert name="body">

                    </ui:insert>
                </p:layoutUnit>

            </p:layout>

        </h:body>

    </f:view>
</html>

